package com.lagou.service;


import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService {
    @Override
    //将来客户单要远程调用的方法
    public String sayHello(String msg) {
        System.out.println("are you ok ? " + msg);
        return "服务器返回数据 : " + msg;
    }

    @Override
    public String getMsg(Object rpcRequest) {
        System.out.println("收到的msg:" + rpcRequest);
        return "success";
    }
}
